<!DOCTYPE html>
<html>
<!-- head -->
{include file="common/page/head"}
<body>
<!---------------- 用户编辑 ------------------->

<!-- 页头 -->
{include file="common/page/header"}
<!-- jsfiles -->
{include file="common/page/jsfiles"}
<!-- 主体 -->
<div class="content container-fluid{if $leftBarScale eq '1'} scale{/if}">
    <div class="row">
        <div class="col-md-2 left-section">
            <!-- 左导航菜单 -->
            {include file="common/page/menu"}

        </div>
        <div class="col-md-10 right-section">
            <!--内容区域-->
            <h3><i class="icon iconfont">{$Think.session.currentMenu.icon}</i>用户编辑</h3>
            <div class="inner-section row">
                <div class="items add-div">
                    <form id="myForm" action="#" method="post" enctype="multipart/form-data">
                        <div class="item table-responsive">
                            <table class="table table-striped table-hover table-bordered table-base">
                                <tbody>
                                     <tr>
                                        <td>头像<label class="must-tag">&nbsp;&nbsp;</label></td>
                                        <td>
                                        	{if $userInfo.head_img_url}
                                            <img height="30" src="{$userInfo.head_img_url}">
                                            {else}
                                            	无头像
                                            {/if}
                                        </td>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td>姓名<label class="must-tag">&nbsp;&nbsp;</label></td>
                                        <td>
                                        	<input type="text" name="name" value="{$userInfo.name}" />
                                        </td>
                                        <td></td>
                                    </tr>

                                    <tr>
                                        <td>性别<label class="must-tag">&nbsp;&nbsp;</label></td>
                                        <td>
                                            {if $userInfo.sex eq 1}男
                                        	{elseif $userInfo.sex eq 2}女
                                        	{elseif $userInfo.sex eq 0}未知
                                        	{/if}
                                        </td>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td>手机号<label class="must-tag">&nbsp;&nbsp;</label></td>
                                        <td>
                                        	<input type="text" name="phone" value="{$userInfo.phone}" /> 
                                        </td>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td>认证状态<label class="must-tag">&nbsp;&nbsp;</label></td>
                                        <td>
                                        	{if $userInfo.bank_card_status eq '1'}
                                            	银行卡已认证,
                                            {/if}
                                            {if $userInfo.bank_card_status eq '1'}
                                            	运营商已认证,
                                            {/if}
                                            {if $userInfo.bank_card_status eq '1'}
                                            	实名已认证,
                                            {/if}
                                            {if $userInfo.bank_card_status eq '1'}
                                            	紧急联系人已认证,
                                            {/if}
                                            {if $userInfo.bank_card_status eq '1'}
                                            	淘宝已认证,
                                            {/if}
                                            {if $userInfo.bank_card_status eq '1'}
                                            	芝麻信用已认证,
                                            {/if}
                                            {if $userInfo.bank_card_status eq '1'}
                                            	学信网已认证
                                            {/if}
                                		
                                        </td>
                                        <td></td>
                                    </tr>
                                    
                                    <tr>
                                        <td>信用额度<label class="must-tag">&nbsp;&nbsp;</label></td>
                                        <td>
                                            <input type="text" name="limit" value="{$userInfo.limit}" /> 
                                        </td>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td>剩余额度<label class="must-tag">&nbsp;&nbsp;</label></td>
                                        <td>
                                            <input type="text" name="residue_limit" value="{$userInfo.residue_limit}" />
                                        </td>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td>最近登录时间<label class="must-tag">&nbsp;&nbsp;</label></td>
                                        <td>
                                            {$userInfo.last_time}
                                        </td>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td>添加时间<label class="must-tag">&nbsp;&nbsp;</label></td>
                                        <td>
                                            {$userInfo.add_time}
                                        </td>
                                        <td></td>
                                    </tr>
                                     <tr>
                                        <td>最近登录ip<label class="must-tag">&nbsp;&nbsp;</label></td>
                                        <td>
                                            {$userInfo.last_ip}
                                        </td>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td>
                                        </td>
                                        <td>
                                            <input type="hidden" name="id" value="{$userInfo.id}">
                                            <a href="javascript:;" class="btn btn-primary submit">提交</a>
                                            <a href="javascript:window.history.go(-1);" class="btn btn-default">返回</a>
                                        </td>
                                        <td></td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 页脚 -->
{include file="common/page/footer"}
<script type="text/javascript" src="../../../application/admin/view/User/editUser/editUser.js"></script>
</body>
</html>